package cn.sciento.starter.social.core.common.connect;

import cn.sciento.starter.social.core.provider.Provider;
import org.springframework.social.oauth2.OAuth2Template;

public class SocialTemplate extends OAuth2Template {
  public SocialTemplate(Provider provider) {
    super(provider.getAppId(), provider.getAppKey(), provider.getAuthorizeUrl(), provider.getAccessTokenUrl());
  }
}
